import time

from src.api.sendMessageApi import sendToMysql


def send():
    while True:
        sendToMysql()
        time.sleep(3)


if __name__ == '__main__':
    send()
